package com.ybxx.base.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ybxx.core.model.BaseModel;

@Entity
@Table(name="tbl_base_type")
public class Type extends BaseModel {
	@Id
	private String tid;
	private String tname;
	
	
	/**
	 * 
	 */
	public Type() {
	}
	
	/**
	 * @param tid
	 */
	public Type(String tid) {
		super();
		this.tid = tid;
	}

	public String getTid() {
		return tid;
	}
	public void setTid(String tid) {
		this.tid = tid;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	
	
}
